package com.gridmobi.xrtb.util;

import com.gridmobi.xrtb.domain.dsp.common.enums.ExchangesE;
import com.gridmobi.xrtb.model.openrtb23.OpenRTB23BidRequest;

public class ChannelHelper {

    public static boolean isChnAlg(String channel, OpenRTB23BidRequest bidRequest){
        String country = RtbUtil.get23Country(bidRequest);
        if (country.toLowerCase().equals("chn") && channel.equalsIgnoreCase(ExchangesE.ALGORIX.key)) {
        return true;
        }
        return false;
    }
}
